<?php echo $this->partial('partials/_entryextended.phtml', $this->entry) ?>
<?php if ($this->paginator->getTotalItemCount() > 0): ?>
    <div id="comment-wrapper">
        <div class="quotetop">
            <h3><?php echo $this->paginator->getTotalItemCount() ?> Comments</h3></div>
    <?php echo $this->partial('partials/_comment.phtml', $this) ?>
    <div class="quotebottom"></div>
</div>
<?php endif; ?>
    <div id="comment-form">
        <h3>Post a comment</h3>    
    <?php if ($this->failedValidation): ?>
        <p class="error">Invalid</p>
    <?php endif; ?>
    <?php if ($this->commentSaved): ?>
            <p class="success">Comment has been posted.</p>
    <?php endif; ?>
    <?php echo str_replace('<input type="text" name="captcha"', '<input type="hidden" name="void"', $this->commentForm->render()) ?>
</div>